package com.qf.Dao;

import com.qf.entity.SysRole;
import com.qf.entity.SysUserRoleDept;

import java.sql.SQLException;

public interface SysRoleDao {
    SysUserRoleDept selectName(String name) throws SQLException;

    int addSysRole(SysRole sysRole) throws SQLException;

    int updateSysRole(SysRole sysRole) throws SQLException;

    int deleteSysRole(String id) throws SQLException;
}
